home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BBS Toolkit
/
BBS Toolkit.iso
/
pc_board
/
dizgrb11.zip
/
DIZ.DOC
< prev
next >
Wrap
Text File
|
1993-02-13
|
3KB
|
72 lines
Command Line FILE_ID.DIZ Grabber
Written and copyrighted by P J Alexander
The Farm BBS (UK) +44 223 208094
These programs are FREEWARE for any Sysop that wishes to try them.
They are "as is" and carry no warranties and we will not be liable for any
damage that may occur while using these programs.
They have been tested on our own system (6+ Gigs) without problems.
These programs were written to grab the FILE_ID.DIZ from archives that were
sent in on disk by post, (more common in the UK because of the horrendous
costs of the phone system here) and format them into standard PCBoard DIR
files. These programs require PKUNZIP.EXE and ARJ.EXE to be on your machines
path to work.
They can be run from a batch file if you wish (2 samples enclosed), one is for
ARJ files (which we favour) and one for the more common ZIP files. The progams
assume all .EXE files to be either .ZIP or .ARJ archives, depending on which
program you are using.
Both batch files use 3 parameters:
<drive> <path> *.EXE
<drive> <path> *.ARJ or <drive> <path> *.ZIP
and the file name to rename the default NEWDIR file too.
e.g.
ZIPPER X:\PCB\COMMS\*.ZIP X:\PCB\COMMS\*.EXE NEWCOMMS
You will see on the screen either:
Working Please Wait .....
Error 53
or
Now Formatting NEWDIR
0
Don't panic about the error message as its looking for it. It means that the
file being processed either hasn't got a FILE_ID.DIZ file or the .EXE isn't
the default type.
You can then cut and paste the parts you want from the created file with your
favourite text editor to the DIR file relating to communications in the above
example, or you can use the "+" command in the batch file to bolt it to the
end of the related DIR file.
e.g copy C:\PCB\GEN\DIR14+%3 C:\PCB\GEN\DIR14
The new batch file would the look like so:
for %%f in (%1) do zipdiz %%f
for %%f in (%2) do zipdiz %%f
ren newdir %3
copy c:\pcb\gen\dir14+%3 c:\pcb\gen\dir14
Although the programs place the date of usage in into the DIR files, the
PCBFiler will change it to the date of the archive, this was the only way we
could keep it consistant with PCBoards American date format.
Should the file names appear as text within PCBFiler just change the date to
that of the program, save and re view the file.
Leave any suggestions for improvement on our board at the above number.
We hope these programs save other Sysops as much trouble as it has us. Enjoy.
All copyrights acknowledged.